<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <title>修改密码</title>
    <link rel="stylesheet" href="/css/ysfwpt_home_password.css"/>
    <script src="/js/jquery-3.3.1.min.js"></script>
</head>
<body>
    <div id="userinfo">
        <div id="title">
            <div>修改密码</div>
        </div>
        <div id="changepsw">
            <table id="table" border="0px">
                <form method="post" enctype="multipart/form-data" id="updateform">
                    <tr style="display: none">
                        <td>工号：</td>
                        <td>
                            <input id="job_number" name="job_number" class="input">
                        </td>
                    </tr>
                    <tr>
                        <td width="25%" rowspan="6"></td>
                        <td width="15%">旧密码：</td>
                        <td width="35%">
                            <input id="password" name="password" type="password" class="input" placeholder="请输入密码" onKeyUp="checkPSW(this.value)" onBlur="checkPSW(this.value)">
                        </td>
                        <td width="25%" rowspan="6"></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td>
                            <div id="psw_info1" class="psw_info psw_info_right">密码输入正确</div>
                        </td>
                    </tr>
                    <tr>
                        <td>新密码：</td>
                        <td>
                            <input id="password_new" name="password_new" type="password" class="input" placeholder="请输入新密码"
                                   onKeyUp="pwStrength(this.value),checkPSW2()" onBlur="pwStrength(this.value),checkPSW2()">
                        </td>
                    </tr>
                    <tr>
                        <td></td>
                        <td>
                            <div id="safe">
                                <div id="safename">安全系数：</div>
                                <div id="strength_L" bgcolor="#eeeeee">低</div>
                                <div id="strength_M" bgcolor="#eeeeee">中</div>
                                <div id="strength_H" bgcolor="#eeeeee">高</div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>确认密码：</td>
                        <td>
                            <input id="password_new2" name="password_new2" type="password" class="input" placeholder="请再次输入新密码" onKeyUp="checkPSW2(this.value)" onBlur="checkPSW2(this.value)">
                        </td>
                    </tr>
                    <tr>
                        <td></td>
                        <td>
                            <div id="psw_info2" class="psw_info"></div>
                        </td>
                    </tr>
                </form>
                <tr>
                    <td colspan="2">
                        <button id="update" class="button">修改密码</button>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <script type="text/javascript" src="/js/ysfwpt_home_password.js"></script>
</body>
</html>
